package com.bush.mall.member.service;

import com.baomidou.mybatisplus.extension.service.IService;

import com.bush.mall.common.entity.Result;;
import com.bush.mall.member.entity.MemberReceiveAddressEntity;

/**
 * 会员收货地址
 * @author RUN
 * @date 2022-11-29
 */
public interface MemberReceiveAddressService extends IService<MemberReceiveAddressEntity> {

    public static final String BEAN_ID = "mall.memberReceiveAddressService";

    /**
     * 分页查询会员收货地址列表
     * @author RUN
     * @date 2022-11-29
     */
     Result queryForPage(Integer current,Integer size);


    /**
     * 创建会员收货地址表单对象
     * @author RUN
     * @date 2022-11-29
     */
     Result saveMemberReceiveAddress(MemberReceiveAddressEntity memberReceiveAddress);


    /**
     * 修改会员收货地址表单对象
     * @author RUN
     * @date 2022-11-29
     */
     Result updateMemberReceiveAddress(MemberReceiveAddressEntity memberReceiveAddress);

    /**
     * 删除指定ID的会员收货地址
     * @author RUN
     * @date 2022-11-29
     */
     Result deleteMemberReceiveAddress(Long id);

}

